package Level01.One;

/**
 * 请编写程序，不使用任何同步技术，模拟三个窗口同时卖 100 张票的情况，运行并
 * 打印结果，观察到错误的数据，并解释出现错误的原因。
 */
public class Test {
    public static void main(String[] args) {
        Section section = new Section();
        Thread south = new Thread(section, "广州南站");
        Thread north = new Thread(section, "广州北站");
        Thread east = new Thread(section, "广州东站");
        Thread west = new Thread(section, "广州西站");
        south.start();
        north.start();
        east.start();
        west.start();
    }
}
